﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RepositoryEntity
{
    /// <summary>
    /// 用户角色实体
    /// </summary>
    public class R_UserInfo_RoleInfo:BaseEntity
    {
        /*/// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column(TypeName = "varchar(36)")]
        public string ID { get; set; }
*/
        /// <summary>
        /// 用户ID
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string UserInfoID { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        [Column(TypeName = "varchar(36)")]
        public string RoleInfoID { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
